package Data::Conveyor::Value::Transaction::Necessity;

# $Id: Necessity.pm 8442 2005-02-17 17:16:09Z gr $

use strict;
use warnings;


our $VERSION = '0.02';


use base 'Data::Conveyor::Value::Enum';


sub get_valid_values_list { $_[0]->delegate->TXN }


sub send_notify_value_invalid {
    my ($self, $value) = @_;
    local $Error::Depth = $Error::Depth + 2;
    $self->exception_container->record(
        'Data::Conveyor::Exception::Transaction::NoSuchNecessity',
        necessity => $value,
    );
}


1;


__END__

{% USE p = PodGenerated %}

=head1 NAME

{% p.package %} - stage-based conveyor-belt-like ticket handling system

=head1 SYNOPSIS

    {% p.package %}->new;

=head1 DESCRIPTION

None yet. This is an early release; fully functional, but undocumented. The
next release will have more documentation.

=head1 METHODS

=over 4

{% p.write_methods %}

=back

{% p.write_inheritance %}

{% PROCESS standard_pod %}

=cut

